package com.itheima.api.generic.demo03;

public class GenericDemo {

    public static void main(String[] args) {

//        Generic generic = new Generic();
        Generic<String> generic = new Generic<String>();

        generic.e = "蓝忘机";
        generic.show();
        System.out.println("---------------------");

//        Generic generic1 = new Generic();
        Generic<Integer> generic1 = new Generic<Integer>();
        generic1.e = 23;
        generic1.show();
    }
}
